﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DesktopApplication
{
    public partial class EditForm : Form
    {
        private string password;
        private string author;

        public EditForm(int id, string user)
        {
            InitializeComponent();
        }

        public EditForm(int id, string user, string password)
        {
            this.password = password;
        }

        public EditForm()
        {
        }

    

        private void title_TextChanged(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            var sql = "insert into Articles(Title,Author)";

            var dt = DBhelper.GetDataTable(sql);



        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void EditForm_Load(object sender, EventArgs e)
        {

        }
    }
}
